package ooday05;

public class StaticeFinalDemo {
    public static void main(String[] args) {
        System.out.println(Loo.PI);
        //Loo.PI=3.141596; 编译错误，常量不能被改变
    }
}
class Loo{
    public static final double PI=3.14159;//常量必须声明同时初始化
}
